{if $lastphoto}
<div class="column">
    <div class="dtop"></div>
    <div class="dmid">
	<div class="block">
	    {$lastphoto}
	</div>
    </div>
    <div class="dbot"></div>
    {/if}
    {if $sidebar}
   <div class="dtop"></div>
    <div class="dmid">
	<div class="block">
	    {$sidebar}
	</div>
    </div>
   <div class="dbot"></div>
   {/if}
</div>
<div class="column">
    {if $lastnews}
    <div class="dtop"></div>
    <div class="dmid">
    <div class="block">
    {$lastnews}
 	</div>
        </div>
   <div class="dbot"></div>
       {/if}
</div>
<div class="column">
    <div class="dtop"></div>
    <div class="dmid">
    <div class="block">
    <h2>Meta</h2>
    <ul class="list">
      <li><a href="#">jakiś link</a><li>
    </ul>
        </div>
	</div>
   <div class="dbot"></div>
</div>
<div class="clr"></div>